﻿package ygg.encoding.swf.structure
{
	public class Rect
	{
		private var _nBits:int
		private var _xMin:int;
		private var _xMax:int;
		private var _yMin:int;
		private var _yMax:int;
		
		public function toString():String
		{
			return "[Rect "+xMin+" "+yMin+" "+xMax+" "+yMax+"]"
		}
		
		public function get nBits():int { return _nBits; }
		
		public function set nBits(value:int):void
		{
			_nBits = value;
		}
		
		public function get xMin():int { return _xMin; }
		
		public function set xMin(value:int):void
		{
			_xMin = value;
		}
		
		public function get xMax():int { return _xMax; }
		
		public function set xMax(value:int):void
		{
			_xMax = value;
		}
		
		public function get yMin():int { return _yMin; }
		
		public function set yMin(value:int):void
		{
			_yMin = value;
		}
		
		public function get yMax():int { return _yMax; }
		
		public function set yMax(value:int):void
		{
			_yMax = value;
		}
	}
}